<?php

namespace app\index\controller;


use  app\index\model\Index;



class   Index  {

	  public  function index(){


       //var_dump($id);

	  	    $data=(new Index())->select();
	  	    return view('key',['key'=>$data]);



	  }




      public function Update(){


      	$data=(new Index())->up();
      	return  view('key',['key'=>$data]);


      }










}








?>